<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" autocomplete="off">
    {% csrf_token %}
<!--账号: <input type="text" name="username"><br>-->
    <label for="">{{ form.username.label }}:</label>
    {{ form.username }}
    <span>{{ form.username.error }}</span>
    <br>
<!--密码: <input type="password" name="userpsd"><br>-->
      <label for="">{{ form.userpsd.label }}:</label>
    {{ form.userpsd }}
    <span style="color: red">{{ form.userpsd.error }}</span>
    <br>
    <input type="submit" value="提 交">
    </form>
</body>
</html>